﻿

using Newtonsoft.Json;
using socketio.socketio;
using SocketioTest.Common;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;

namespace SocketioTest.ViewModel
{
    public class UsersListViewModel : NotifyPropertyBase
    {
        
        private string _name;
        private string _avatar;
        private string _unit_type;
        private int _userId;
        public string name
        {
            get { return _name; }
            set
            {
                _name = value;
                Notify();
            }
        }
        public string avatar
        {
            get { return _avatar; }
            set
            {
                _avatar = value;
                Notify();
            }
        }

        public string unit_type
        {
            get { return _unit_type; }
            set
            {
                _unit_type = value;
                Notify();
            }
        }

        public int userId
        {
            get { return _userId; }
            set
            {
                _userId = value;
                Notify();
            }
        }

       

    }
}
